<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="renderer" content="ie=edge">
    <meta name="keywords" content="贷款,融资,网贷,苏e融,南京荣勋,荣勋,融360,平安">
    <meta name="description" content="苏e融一站式金融服务平台-专属融资顾问一对一提供多形式金融方案">
    <link rel="shortcut icon" href="http://img0.rongsue.com/images/favicon.ico?imageView2/2/w/80/h/80/interlace/1/q/100">
    <title>抽月饼</title>
    <link rel="stylesheet" href="/assets/wechat/layer.css">
    <link rel="stylesheet" href="/assets/wechat/common.css">
    <link rel="stylesheet" href="/assets/wechat/animate.css">
    <script src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
</head>
<style>
    #middraw {
        background: url(/assets/wechat/mid_bg2.png);
        width: 100vw;
        height: 100vh;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-attachment: fixed;
        position: relative;
    }

    .drawshare {
        text-align: center;
    }

    .sharewrite {
        display: inline-block;
        width: 185px;
        height: 35px;
        line-height: 35px;
        text-align: left;
        font-family: PingFangSC-Medium;
        font-size: 16px;
        color: #FFFFFF;
        margin: 10px;
        padding: 0px 15px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 20px;
    }

    .sharewrite .shareimg {
        width: 25px;
        padding: 5px 0px;
        position: absolute;
    }

    .drawwrite {
        width: calc(100vw - 200px);
        padding: 0px 100px;
    }

    .drawwrite img {
        width: 100%;
    }

    .mooncake {
        width: calc(100vw - 180px);
        padding: 10px 90px;
    }

    .mooncake img {
        width: 100%;
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        animation: rotation 5s linear infinite;
        -moz-animation: rotation 5s linear infinite;
        -webkit-animation: rotation 5s linear infinite;
        -o-animation: rotation 5s linear infinite;
    }

    @keyframes rotation {
        from {
            -webkit-transform: rotate(0deg);
        }

        to {
            -webkit-transform: rotate(360deg);
        }
    }

    @-webkit-keyframes rotation {
        from {
            -webkit-transform: rotate(0deg);
        }

        to {
            -webkit-transform: rotate(360deg);
        }
    }

    .mid_drawbtn {
        width: calc(100vw - 180px);
        padding: 10px 90px;
    }

    .mid_drawbtn img {
        width: 100%;
    }

    .rule {
        width: calc(100vw - 40px);
        padding: 10px 20px;
    }

    .rule a {
        width: 120px;
        height: 34px;
        display: inline-block;
    }

    .rule img {
        width: 120px;
    }

    .mymoon {
        position: absolute;
        right: 20px;
    }

    .rule .mymoona {
        position: absolute;
        right: 20px;
    }

    /* .dialog_award */

    .dialog_award,
    .dialog_noaward {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        z-index: 10000;
        box-sizing: border-box;
        text-align: center;
        background: rgba(0, 0, 0, 0.9);
        font-size: 22px;
        color: red;
        display: none;
    }

    .dialog_award div {
        width: 240px;
        position: absolute;
        top: 30%;
        left: 50%;
        margin-left: -120px;
        border: 2px dashed red;
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        box-sizing: border-box;
    }

    .dialog_noaward div {
        width: 220px;
        text-align: center;
        position: absolute;
        top: 30%;
        left: 50%;
        margin-left: -110px;
        border: 2px dashed red;
        background: #fff;
        border-radius: 8px;
        padding: 20px;
        box-sizing: border-box;
    }

    .dialog_award img.cakeimg {
        display: block;
        width: 110px;
        padding: 0px 45px;
        margin-bottom: 10px;
    }

    .dialog_award img.close,
    .dialog_noaward img.close {
        width: 50px;
        height: 50px;
        position: absolute;
        bottom: -60px;
        left: 50%;
        margin-left: -25px;
    }
</style>

<body>
    <div id="app">

    </div>
</body>
<script>
    // $.ajax({
    //     url: "http://api.rongsue.com/wx/getwx?url=" + encodeURIComponent(window.location.href.split('#')[0]),
    //     type: 'POST',
    //     success: function (res) {
    //         wx.config({
    //             debug: false,
    //             appId: 'wxeaccffdd3826280c', // 必填，公众号的唯一标识
    //             timestamp: parseInt(res.data.timestamp),// 必填，生成签名的时间戳
    //             nonceStr: res.data.nonceStr,// 必填，生成签名的随机串
    //             signature: res.data.signature,// 必填，签名
    //             jsApiList: ["checkJsApi", "onMenuShareTimeline", "onMenuShareAppMessage"]// 必填，需要使用的JS接口列表
    //         })
    //     }
    // });

    // wx.ready(function () {
    //     //朋友圈
    //     wx.onMenuShareTimeline({// 获取“分享到朋友圈”按钮点击状态及自定义分享内容接口（即将废弃）
    //         title: '苏e融-中秋活动', // 分享标题
    //         link: 'http://rongsue.com/wechat/midautumn.html', // 分享链接
    //         imgUrl: 'http://img0.rongsue.com/FnoHIcaW6VthFDFuQ0M0pZShitl0',
    //         success: function (res) {
    //             alert('已分享');
    //         },
    //         cancel: function (res) {
    //             alert('已取消');
    //         },
    //         fail: function (res) {
    //             alert(JSON.stringify(res));
    //         }
    //     });
    //     //朋友
    //     wx.onMenuShareAppMessage({//获取“分享给朋友”按钮点击状态及自定义分享内容接口（即将废弃）
    //         title: '苏e融-中秋活动', // 分享标题
    //         desc: 'pick迪士尼黄金项链双挂坠等你来拿', // 分享描述
    //         link: 'http://rongsue.com/wechat/midautumn.html', // 分享链接
    //         imgUrl: 'http://img0.rongsue.com/FnoHIcaW6VthFDFuQ0M0pZShitl0', // 分享图标
    //         type: '', // 分享类型,music、video或link，不填默认为link
    //         dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
    //         success: function () {
    //             // 用户确认分享后执行的回调函数
    //             alert("分享");
    //         },
    //         cancel: function () {
    //             // 用户取消分享后执行的回调函数
    //             alert("取消分享");
    //         }
    //     });
    // });


</script>

</html>